#define mirror()
<link rel="stylesheet" href="/static/codemirror-5.49.0/lib/codemirror.css">
<link rel="stylesheet" href="/static/codemirror-5.49.0/theme/darcula.css">
<script src="/static/codemirror-5.49.0/lib/codemirror.js"></script>
<script src="/static/codemirror-5.49.0/mode/javascript/javascript.js"></script>
<style>
   .CodeMirror {
        min-height:700px;
        min-width:900px;
        border: 1px solid #eee;
        height: auto;
    }
   .CodeMirror-scroll {
       min-height:700px;
       min-width:900px;
       height: auto;
       overflow-y: hidden;
       overflow-x: auto;
   }
</style>
#end

#define mirrorBody()
<div class="row">
    <div class="col-lg-8" >
        <p> 代码： </p>
    </div>
</div>
<div class="row">
    <div class="col-lg-8" style="">
        <textarea id="code" name="code" style="display: none;resize:both;"></textarea>
    </div>
</div>
#end